package com.zhang.productcenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

//@RibbonClient
@EnableFeignClients
@ComponentScan(basePackages = {"com.zhang.productcenter","com.zhang.redis"})
@SpringBootApplication
@MapperScan(basePackages = "com.zhang.productcenter.common.mapper")
@EnableDiscoveryClient
public class ProductCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProductCenterApplication.class, args);
    }

}
